package com.gexiaobao.pigeon.app.model.bean;

import java.io.Serializable;

import me.yokeyword.indexablerv.IndexableEntity;

/**
 * @Author : hxw
 * @Date : 2024/4/16 15:37
 * @Describe :
 */
public class ProvinceEntity implements Serializable, IndexableEntity {

    private Integer areaId;
    private Integer cityId;
    private Integer id;
    private String name;
    private Integer provinceId;
//    private String pinyin;

    public ProvinceEntity(Integer areaId, Integer cityId, Integer id, String name, Integer provinceId) {
        this.areaId = areaId;
        this.cityId = cityId;
        this.id = id;
        this.name = name;
        this.provinceId = provinceId;
//        this.pinyin = pinyin;
    }

    public ProvinceEntity(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String getFieldIndexBy() {
        return name;
    }

    @Override
    public void setFieldIndexBy(String indexField) {
        this.name = indexField;
    }

    @Override
    public void setFieldPinyinIndexBy(String pinyin) {

    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

//    public String getPinyin() {
//        return pinyin;
//    }
//
//    public void setPinyin(String pinyin) {
//        this.pinyin = pinyin;
//    }
}
